{"version":3,"file":"ui.uploader.bundle.map.js","names":["this","BX","UI","exports","main_core_events","ui_uploader_core","ui_vue3","main_core","FileStatus","INIT","ADDED","LOADING","PENDING","UPLOADING","COMPLETE","LOAD_FAILED","UPLOAD_FAILED","FileOrigin","CLIENT","SERVER","FileEvent","ADD","BEFORE_UPLOAD","UPLOAD_START","UPLOAD_ERROR","UPLOAD_PROGRESS","UPLOAD_COMPLETE","UPLOAD_CONTROLLER_INIT","LOAD_START","LOAD_PROGRESS","LOAD_COMPLETE","LOAD_ERROR","LOAD_CONTROLLER_INIT","REMOVE_ERROR","REMOVE_COMPLETE","REMOVE_CONTROLLER_INIT","STATE_CHANGE","STATUS_CHANGE","PREPARE_FILE_ASYNC","UploaderError","BaseError","constructor","code","args","message","Type","isString","description","customData","isPlainObject","length","replacements","Object","keys","forEach","key","Loc","hasMessage","getMessage","isStringFilled","super","origin","Origin","type","USER","setDescription","static","errors","isArrayFilled","uploaderError","find","error","system","setOrigin","setType","console","SYSTEM","UNKNOWN","name","getDescription","text","getOrigin","values","includes","getType","clone","options","JSON","parse","stringify","toString","getCode","toJSON","getCustomData","_server","babelHelpers","classPrivateFieldLooseKey","_options","AbstractUploadController","EventEmitter","server","defineProperty","writable","value","setEventNamespace","classPrivateFieldLooseBase","getServer","getOptions","getOption","option","defaultValue","isUndefined","upload","file","Error","abort","_server$1","_options$1","AbstractLoadController","load","_server$2","_options$2","AbstractRemoveController","remove","crypto","window","msCrypto","process","require","webcrypto","createUniqueId","replace","c","getRandomValues","Uint8Array","getExtensionFromType","subtype","split","pop","test","counter","createFileFromBlob","blob","fileName","date","Date","getFullYear","getMonth","getDate","extension","File","lastModified","now","lastModifiedDate","exception","slice","size","regexp","isDataUri","str","match","createBlobFromDataUri","dataURI","byteString","atob","mimeString","buffer","ArrayBuffer","view","i","charCodeAt","Blob","getFileExtension","filename","position","lastIndexOf","substring","imageExtensions","isResizableImage","mimeType","isFile","toLowerCase","formatFileSize","base","units","getUnits","isInteger","toFixed","fileSizeUnits","_id","_file","_serverId","_name","_originalName","_size","_type","_width","_height","_clientPreview","_clientPreviewUrl","_clientPreviewWidth","_clientPreviewHeight","_serverPreviewUrl","_serverPreviewWidth","_serverPreviewHeight","_downloadUrl","_removeUrl","_status","_origin","_errors","_progress","_uploadController","_loadController","_removeController","_uploadCallbacks","_setStatus","UploaderFile","source","fileOptions","_setStatus2","CallbackCollection","isBlob","isNumber","setFile","id","subscribeFromOptions","events","canLoad","emit","callbacks","subscribe","isComplete","isUploadable","isUploadFailed","getError","canUpload","event","BaseEvent","data","isDefaultPrevented","getStatus","isLoading","isUploading","getUploadController","setUploadController","controller","isNull","changed","subscribeOnce","addError","getData","progress","setProgress","fileInfo","setLoadController","emitAsync","then","catch","setRemoveController","isReadyToUpload","isLoadable","isFailed","isLoadFailed","getBinary","getName","setName","setOriginalName","originalName","setSize","setServerId","serverId","setWidth","width","setHeight","height","setClientPreview","clientPreview","clientPreviewWidth","clientPreviewHeight","setServerPreview","serverPreviewUrl","serverPreviewWidth","serverPreviewHeight","setDownloadUrl","downloadUrl","setRemoveUrl","removeUrl","property","getOriginalName","getExtension","getSize","getSizeFormatted","getId","getServerId","getDownloadUrl","url","getRemoveUrl","getWidth","getHeight","getPreviewUrl","getClientPreview","getClientPreviewUrl","getServerPreviewUrl","getPreviewWidth","getClientPreviewWidth","getServerPreviewWidth","getPreviewHeight","getClientPreviewHeight","getServerPreviewHeight","revokeClientPreviewUrl","URL","createObjectURL","revokeObjectURL","isImage","getProgress","createFromError","push","getErrors","getState","status","sizeFormatted","failed","previewUrl","previewWidth","previewHeight","clientPreviewUrl","_emitter","isFunction","onComplete","getEmitter","onError","eventName","unsubscribeAll","_data","_offset","_retries","Chunk","offset","getNextRetryDelay","shift","setRetries","retries","isArray","getOffset","_file$1","_chunkOffset","_chunkTimeout","_token","_xhr","_aborted","_uploadChunk","_retryUploadChunk","_getNextChunk","UploadController","_getNextChunk2","_retryUploadChunk2","_uploadChunk2","nextChunk","clearTimeout","getFile","getChunkSize","getChunkOffset","getToken","setToken","token","chunk","totalSize","isOnlyOneChunk","normalize","headers","encodeURIComponent","rangeStart","rangeEnd","rangeHeader","controllerOptions","getControllerOptions","ajax","runAction","preparePost","getParameters","getController","onrequeststart","xhr","onprogressupload","lengthComputable","uploadedBytes","Math","min","loaded","floor","response","createFromAjaxErrors","shouldRetry","nextDelay","setTimeout","currentChunkSize","nextOffset","fileRange","getChunkRetryDelays","pendingQueues","WeakMap","loadingFiles","loadMultiple","timeout","queue","get","tasks","Runtime","debounce","loadInternal","aborted","set","filter","task","delete","fileIds","onprogress","total","_response$data","files","fileResults","fileResult","success","_file$2","ServerLoadController","ClientLoadController","queues","removeMultiple","removeInternal","fileId","RemoveController","_controller","_controllerOptions","_uploadControllerClass","_uploadControllerOptions","_loadControllerClass","_loadControllerOptions","_removeControllerClass","_removeControllerOptions","_chunkSize","_defaultChunkSize","_chunkMinSize","_chunkMaxSize","_chunkRetryDelays","_calcChunkSize","Server","serverOptions","_calcChunkSize2","_chunkSize2","chunkSize","getDefaultChunkSize","forceChunkSize","chunkRetryDelays","controllerClass","fn","getClass","loadControllerOptions","uploadControllerOptions","removeControllerOptions","createUploadController","createLoadController","createClientLoadController","createRemoveController","settings","Extension","getSettings","getChunkMinSize","getChunkMaxSize","max","_uploader","Filter","uploader","filterOptions","getUploader","apply","_maxFileSize","_minFileSize","_maxTotalFileSize","_imageMaxFileSize","_imageMinFileSize","FileSizeFilter","setMaxFileSize","setMinFileSize","setMaxTotalFileSize","setImageMaxFileSize","setImageMinFileSize","Promise","resolve","reject","getMaxFileSize","maxFileSize","maxFileSizeInBytes","getMinFileSize","minFileSize","minFileSizeInBytes","getImageMaxFileSize","imageMaxFileSize","imageMaxFileSizeInBytes","getImageMinFileSize","imageMinFileSize","imageMinFileSizeInBytes","getMaxTotalFileSize","getTotalSize","maxTotalFileSize","maxTotalFileSizeInBytes","isValidFileType","fileTypes","baseMimeType","trim","charAt","indexOf","FileTypeFilter","getAcceptedFileTypes","getArrayBuffer","fileReader","FileReader","readAsArrayBuffer","onload","result","onerror","convertStringToBuffer","compareBuffers","dataView","dest","start","j","getUint8","GIF87a","GIF89a","Gif","DataView","getUint16","PNG_SIGNATURE","IHDR_SIGNATURE","FRIED_CHUNK_NAME","Png","getUint32","BMP_SIGNATURE","Bmp","abs","getInt32","EXIF_SIGNATURE","Jpeg","orientation","byteLength","exifBlock","getOrientation","Marker","BIG_ENDIAN","LITTLE_ENDIAN","byteAlign","isBigEndian","isLittleEndian","extractOrientation","littleEndian","idfDirectoryEntries","IDF_ENTRY_BYTES","NUM_DIRECTORY_ENTRIES_BYTES","directoryEntryNumber","end","block","byteOffset","tagNumber","dataFormat","numberOfComponents","RIFF_HEADER","WEBP_SIGNATURE","VP8_SIGNATURE","VP8L_SIGNATURE","VP8X_SIGNATURE","Webp","headerType","headerView","bits","extendedHeader","validStart","validEnd","jpg","typeHandlers","gif","png","bmp","jpeg","jpe","webp","getImageSize","typeHandler","_imageMinWidth","_imageMinHeight","_imageMaxWidth","_imageMaxHeight","_ignoreUnknownImageTypes","ImageSizeFilter","setImageMinWidth","setImageMinHeight","setImageMaxWidth","setImageMaxHeight","setIgnoreUnknownImageTypes","getImageMinWidth","getImageMinHeight","minWidth","minHeight","getImageMaxWidth","getImageMaxHeight","maxWidth","maxHeight","getIgnoreUnknownImageTypes","log","isBoolean","createWorker","workerBlob","workerURL","worker","Worker","post","callback","transfer","onmessage","postMessage","terminate","BitmapWorker","self","createImageBitmap","bitmap","_event$data","loadImage","image","document","createElement","src","naturalWidth","naturalHeight","createImagePreview","round","canvas","context","getContext","drawImage","supportedMimeTypes","Browser","isSafari","getCanvasToBlobType","mimeTypeMode","getFilenameWithoutExtension","substr","extensionMap","renameFileToMatchMimeType","canvasPrototype","HTMLCanvasElement","prototype","hasToBlobSupport","toBlob","convertCanvasToBlob","quality","toDataURL","getResizedImageSize","imageData","mode","upscale","targetWidth","targetHeight","useOriginalSize","ratioWidth","ratioHeight","ratio","canCreateImageBitmap","ImageBitmap","close","ua","navigator","userAgent","regex","RegExp","exec","resizeImage","loadImageDataFallback","handleImageLoad","preview","newFileName","bitmapWorker","imageBitmap","isVideo","createVideoPreview","seekTime","video","setAttribute","Event","bind","duration","currentTime","videoWidth","videoHeight","_imagePreviewWidth","_imagePreviewHeight","_imagePreviewQuality","_imagePreviewMimeType","_imagePreviewMimeTypeMode","_imagePreviewUpscale","_imagePreviewResizeMode","_getResizeImageOptions","ImagePreviewFilter","_getResizeImageOptions2","setImagePreviewWidth","setImagePreviewHeight","setImagePreviewQuality","setImagePreviewUpscale","setImagePreviewResizeMode","setImagePreviewMimeType","setImagePreviewMimeTypeMode","getImagePreviewWidth","getImagePreviewHeight","getImagePreviewQuality","getImagePreviewUpscale","getImagePreviewResizeMode","getImagePreviewMimeType","getImagePreviewMimeTypeMode","_resizeWidth","_resizeHeight","_resizeMethod","_resizeMimeType","_resizeMimeTypeMode","_resizeQuality","ImageResizeFilter","setResizeWidth","setResizeHeight","setResizeMode","setResizeMimeType","setResizeMimeTypeMode","setResizeQuality","getResizeWidth","getResizeHeight","getResizeMode","getResizeQuality","getResizeMimeType","getResizeMimeTypeMode","UploaderStatus","STARTED","STOPPED","UploaderEvent","ERROR","MAX_FILE_COUNT_EXCEEDED","DESTROY","BEFORE_BROWSE","BEFORE_DROP","BEFORE_PASTE","FILE_BEFORE_ADD","FILE_ADD_START","FILE_LOAD_START","FILE_LOAD_PROGRESS","FILE_LOAD_COMPLETE","FILE_ERROR","FILE_ADD","FILE_REMOVE","FILE_UPLOAD_START","FILE_UPLOAD_PROGRESS","FILE_UPLOAD_COMPLETE","FILE_COMPLETE","FILE_STATUS_CHANGE","FILE_STATE_CHANGE","FilterType","VALIDATION","PREPARATION","getFilesFromDataTransfer","dataTransfer","items","Array","from","item","isFileSystemItem","map","getFilesFromItem","all","fileGroups","group","entry","webkitGetAsEntry","isDirectory","kind","isDirectoryEntry","getFilesInDirectory","getAsEntry","getAsFile","dirCounter","fileCounter","resolveIfDone","readEntries","dirEntry","directoryReader","createReader","readBatch","entries","isEntry","canAppendFileToForm","DataTransfer","add","input","err","assignFileToInput","_files","_multiple","_autoUpload","_allowReplaceSingle","_maxParallelUploads","_maxParallelLoads","_acceptOnlyImages","_acceptedFileTypes","_ignoredFileNames","_maxFileCount","_server$3","_hiddenFields","_hiddenFieldsContainer","_hiddenFieldName","_assignAsFile","_filters","_status$1","_onBeforeUploadHandler","_onFileStatusChangeHandler","_onFileStateChangeHandler","_onInputFileChangeHandler","_onPasteHandler","_onDropHandler","_browsingNodes","_dropNodes","_pastingNodes","_setLoadEvents","_setUploadEvents","_setRemoveEvents","_handleBeforeUpload","_handleFileStatusChange","_handleFileStateChange","_exceedsMaxFileCount","_applyFilters","_removeFile","_handleBrowseClick","_handleInputFileChange","_handleDrop","_preventDefault","_handlePaste","_uploadNext","_loadNext","_setHiddenField","_resetHiddenField","_resetHiddenFields","_syncInputPositions","Uploader","uploaderOptions","_syncInputPositions2","_resetHiddenFields2","_resetHiddenField2","_setHiddenField2","_loadNext2","_uploadNext2","_handlePaste2","_preventDefault2","_handleDrop2","_handleInputFileChange2","_handleBrowseClick2","_removeFile2","_applyFilters2","_exceedsMaxFileCount2","_handleFileStateChange2","_handleFileStatusChange2","_handleBeforeUpload2","_setRemoveEvents2","_setUploadEvents2","_setLoadEvents2","Map","Set","assign","multiple","acceptedFileTypes","getGlobalOption","setAcceptedFileTypes","acceptOnlyImages","setAcceptOnlyImages","ignoredFileNames","setIgnoredFileNames","setMaxFileCount","maxFileCount","setAllowReplaceSingle","allowReplaceSingle","assignBrowse","browseElement","assignDropzone","dropElement","assignPaste","pasteElement","setHiddenFieldsContainer","hiddenFieldsContainer","setHiddenFieldName","hiddenFieldName","setAssignAsFile","assignAsFile","setAutoUpload","autoUpload","setMaxParallelUploads","maxParallelUploads","setMaxParallelLoads","maxParallelLoads","addFilter","addFilters","filters","addFiles","path","globalOptions","fileList","isArrayLike","addFile","getIgnoredFileNames","isMultiple","shouldReplaceSingle","fileToReplace","removeFile","uploadController","getPendingFileCount","cancel","getFiles","destroy","unassignBrowseAll","unassignDropzoneAll","unassignPasteAll","setPrototypeOf","index","findIndex","element","className","Reflection","nodes","isElementNode","node","has","tagName","acceptAttr","getAttribute","onBrowseClickHandler","join","unassignBrowse","unbind","unassignDropzone","unassignPaste","getHiddenFieldsContainer","querySelector","container","getHiddenFieldName","shouldAssignAsFile","flag","reduce","shouldAutoUpload","getMaxParallelUploads","number","getMaxParallelLoads","getUploadingFileCount","getImageExtensions","shouldAcceptOnlyImages","fileNames","getMaxFileCount","preventDefault","getTarget","totalNewFiles","totalFiles","firstFilter","current","next","splice","click","currentTarget","dragEvent","clipboardEvent","clipboardData","currentUploads","pendingFiles","pendingUploads","limit","pendingFile","currentLoads","isExistingServerFile","Dom","style","visibility","left","top","append","_uploader$1","_items","_uploaderError","_getItemsArray","_getItem","_handleFileAdd","_handleFileRemove","_handleFileStateChange$1","_handleError","_handleUploadStart","_handleUploadComplete","VueUploaderAdapter","_handleUploadComplete2","_handleUploadStart2","_handleError2","_handleFileStateChange2$1","_handleFileRemove2","_handleFileAdd2","_getItem2","_getItemsArray2","ref","shallowRef","userEvents","onUploadStart","onUploadComplete","getItems","getUploaderError","_vueAdapter","_uploaderOptions","_widgetOptions","_vueApp","VueUploaderWidget","widgetOptions","getRootComponent","getAdapter","getVueApp","BitrixVue","createApp","uploaderAdapter","renderTo","isDomNode","mount","VueUploaderComponent","props","default","provide","adapter","beforeCreate","created","unmounted","Marker$1","JPEG","APP1","EXIF","TIFF","Orientation","Unknown","little","getJpegOrientation","reader","e","target","marker","tags","isJpeg","freeze","Helpers","Vue3"],"sources":["ui.uploader.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,GAAKF,KAAKC,GAAGC,IAAM,CAAC,GAC3B,SAAUC,EAAQC,EAAiBC,EAAiBC,EAAQC,GAC5D,aAEA,MAAMC,EAAa,CACjBC,KAAM,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